<?php
// +----------------------------------------------------------------------
// | EtrolPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Author:HCZ <huangchengze@etrol.com>
// +-----------------------------------------------------------------------

namespace app\warning\model;

use app\common\model\Base;
/**
 * 预警预测
 */
class Warninghistory extends Base{


	protected $name = 'warninghistory';
	protected $createTime = 'createTime';
	protected $updateTime = 'updateTime';

	public function enterprise(){
		return $this->hasOne('app\basic\model\Enterprise','id','enterpriseId');
	}
}